{% extends "base.html" %}

{% block title %}{{ block.super }} &bull; Search for {{ kind|capfirst }} {% endblock %}

{% block content %}

<h2>Search for {{ kind }}</h2>

<a href="{{ search_url }}">reset query</a>

<form action="{{ search_url }}" method="get">
{{ form.as_p }}
<input type="submit" value="Submit" />

{% block delete_matching_results %}{% endblock %}

</form>

<p>
    {{ result_count }} result{{ result_count|pluralize }} found.
</p>

{% load paginator %}

{% if page_obj %}
    {% paginator "get" %}

    {% block result_list %}
    {% endblock %}

    {% paginator "get" %}
{% endif %}

{% endblock content %}
